﻿@{
    ViewBag.Title = "Đăng nhập";
    Layout = "~/Views/Shared/_LayoutNoLayout.cshtml";
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--<script src="Scripts/JScript.js" type="text/javascript"></script> -->
<script src="../../resources/Scripts/QuanLyTruocBa.js" type="text/javascript"></script>
<script src="../../resources//Scripts/QTM.js" type="text/javascript"></script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Đăng nhập</title>
    <link href="@Href("~/resources/CSS/DinhDang.css")" rel="stylesheet" type="text/css" />
    <link href="@Href("~/resources/CSS/QTM.css")" rel="stylesheet" type="text/css" />
    <link href="../../resources/CSS/QTM.css" rel="stylesheet" type="text/css" />
    <link href="../../resources/CSS/DinhDang.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .ctl00_Menu1_0
        {
            background-color: white;
            visibility: hidden;
            display: none;
            position: absolute;
            left: 0px;
            top: 0px;
        }
        .ctl00_Menu1_1
        {
            color: White;
            font-weight: bold;
            text-decoration: none;
        }
        .ctl00_Menu1_2
        {
            color: White;
            font-weight: bold;
            height: 25px;
            width: 612px;
        }
        .ctl00_Menu1_3
        {
        }
        .ctl00_Menu1_4
        {
            height: 25px;
        }
        .ctl00_Menu1_5
        {
            height: 25px;
        }
        .ctl00_Menu1_6
        {
        }
        .ctl00_Menu1_7
        {
            height: 25px;
            width: 200px;
        }
        .ctl00_Menu1_8
        {
            background-color: Blue;
            height: 250px;
        }
    </style>
</head>
<body style="height: 100%; ">
       <center>
    <div class="main">

        <div id="panner">
        </div>
        <div id="content">
           <div style="width: 100%; height: auto; float: left;">
                <table style="height: auto">
                    <tr valign="top">
                        <td>
                            <div style="background-image: url('resources/Images/body.jpg'); background-repeat: no-repeat;
                                width: 1018px; height: 300px; float: left; padding-top:100px;">
                                <div style="width: 100%; height: 70px;">
                                <div style="width: 100%; height: 25px; float: left; color: Red; font-weight: bold;">
                                    <div style="height: 25px; float: left; padding-left: 35%;">
                                    @Session["ErrorMsg"]
                                    </div>
                                    
                                </div>
                                
                                </div>
                                <div style="width: 100%; height: 25px; color: Green; font-weight: bold;">
                                @using (Html.BeginForm("DangNhap", "DangNhap", FormMethod.Post, new { @id = "frmDangNhap" }))
                                {
                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td align="right" style="width:45%">
                                    Đơn vị quản lý
                                    </td>
                                    <td style="width:5%"></td>
                                    <td align="left" colspan="3" style="width:50%">
                                     @(Html.Telerik().ComboBox()
                                                .Name("IdentityDonViQuanLy")
                                                .AutoFill(true)
                                                .Filterable(f=>f.FilterMode(AutoCompleteFilterMode.Contains))
                                                .BindTo((SelectList)ViewBag.IdentityDonVi)
                                                .HtmlAttributes(new { @style = "width:255px; " })
                                            )
                                    </td>
                                </tr>
                                <tr>
                                <td align="right" style="width:45%;">
                                    Tên đăng nhập
                                </td>
                                <td style="width:5%"></td>
                                <td align="left" colspan="3" style="width:50%">
                                    <input name="UserName" type="text" id="ctl00_ContentPlaceHolder1_tbUsername" style="width:250px" />
                                </td>
                                </tr>
                                <tr>
                                    <td align="right" style="width:45%">
                                    Mật khẩu
                                    </td>
                                    <td style="width:5%"></td>
                                    <td align="left" colspan="3" style="width:50%">
                                    <input name="Password" type="password" id="ctl00_ContentPlaceHolder1_tbPassword"
                                                style="width: 250px;" />
                                    </td>
                                </tr>
                                <tr>
                                <td align="center" colspan="3" style="width:100%">&nbsp;
                                </td>
                                </tr>
                                <tr>
                                <td align="right" style="width:45%">
                                &nbsp;
                                </td>
                                <td style="width:5%">&nbsp;</td>
                                <td align="left" style="width:8%">
                                @*<a id="ctl00_ContentPlaceHolder1_LinkButtonDangNhap" href="javascript: document.forms[0].submit();"
                                                style="color: Black; font-weight: bold; text-decoration: none;">
                                                Đăng nhập</a>*@
                                        <input type="submit" value="Đăng nhập"/>
                                </td>
                                <td style="width:5%">&nbsp;</td>
                                <td align="left" style="width:32%">
                                <input type="button" value="Thoát" onclick="javascript: window.close();"/>
                                </td>
                                </tr>
                                </table>
                                }
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div id="footer" style="vertical-align:middle;">
            <center>
            Phòng tin học cục thuế Tp. Hồ Chí Minh. ĐC: 140 Nguyễn Thị Minh Khai, Q.1, Tp.HCM. Điện thoại: 84 8 3930 4148. Email: ltdung1110.hcm@gdt.gov.vn
               @* @(Html.Partial("./_ViewFootter"))*@
            </center>
        </div>
    </div>
            </center>
</body>
</html>
@(Html.Telerik().StyleSheetRegistrar()
                    .DefaultGroup(groups =>
                    {
                        groups.Add("telerik.common.css");
                        groups.Add("telerik.metro.css");
                        groups.Add("telerik.rtl.css");
                    }))
@(Html.Telerik().ScriptRegistrar()
          .DefaultGroup(groups => {
              groups.Add("telerik.common.js");
              groups.Add("telerik.grid.js");
          }))